﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditUsers.aspx.cs" Inherits="NLUNZ.Admin.EditUsers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <div><h2>Approve Users</h2></div>
    <div style="margin: 20px;">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" DataKeyNames="UserId" DataSourceID="LinqDataSource1" 
            EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
            Width="750px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:CommandField ShowEditButton="True" />
                <asp:BoundField DataField="UserId" HeaderText="UserId" InsertVisible="False" 
                    ReadOnly="True" SortExpression="UserId" >
                <HeaderStyle Height="40px" />
                <ItemStyle Height="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="UserName" HeaderText="UserName" 
                    SortExpression="UserName" />
                <asp:BoundField DataField="LastActivityDate" HeaderText="LastActivityDate" 
                    SortExpression="LastActivityDate" />
                <asp:CheckBoxField DataField="IsActive" HeaderText="IsActive" 
                    SortExpression="IsActive" />
                <asp:CheckBoxField DataField="IsDeleted" HeaderText="IsDeleted" 
                    SortExpression="IsDeleted" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        <asp:LinqDataSource ID="LinqDataSource1" 
            ContextTypeName="NLUNZ.Business.NLUDBDataContext" TableName="Users" 
            runat="server" EnableUpdate="True">
        </asp:LinqDataSource>
    </div>
    </div>
</asp:Content>
